<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>

 	<a href="http://www.baidu.com">百度</a>

	<p onclick="location.href='http://www.baidu.com'">百度</p>
	
	
</body>
</html>